
// const logUtil = require('./utils/log_util');
 const  project=require('./controllers/project');

/**
 * 批量导入设计家、酷家乐户型
 * @type {string}
 */
 // const dataPath = 'C:\\Users\\admin\\Downloads\\noHolefloor\\noHolefloor';
 // project.batchImportDesignHomeData(dataPath,false);

/**
 * 批量导入户型缩略图
 */
// const imagePath="E:\\3FO4IWNASAC5";
// project.batchImportDesignHomeImage(imagePath);

//
// const index=require('./test/index');
// index.index();

/**
 * 将生产环境的户型导入到测试环境
 */
// const  copyProdToDev=require('./controllers/copyProdProjectToDev');
// copyProdToDev.copyProdProjectToDev();

/**
 * 批量导入完整户型、方案信息数据
 */
const batchInputProject =require('./controllers/batchOuterToInnerWithProject');
// batchInputProject.batchImportProjectDataByFolder('C:\\Users\\admin\\Downloads\\noHolefloor\\noHolefloor',true);
const  designids=['37d3e69f-fb03-4b5c-b54a-bae18a386d97']
batchInputProject.batchImportProjectDataByUrl(designids);
/**
 * 批量补充户型缺少json数据
 * 1、如果户型当前版本缺少对应的json数据，则从生产环境获取对应的json补充
 */
// const   repairProjectObject=require('./controllers/repairProjectObject');
// repairProjectObject.addProjectJson();
//  批量下载指定url图片
// const   downloadModelOrImage=require("./controllers/downloadModelOrImage");
// downloadModelOrImage.downLoadImage();

// const xx = require('./controllers/batchDisposeImage');
//
// xx.batchCompressImage("E:\\03数据转移\\10 杭州数据\\杭州墙地面材质图片\\材质纹理2 - 副本");

/**
 * 将Url图片转换为64位字符信息
 */
// const downImage=require('./utils/downloadByUrl');
// downImage.getBase64BitDataByUrl("http://resource.jiaeda.com/jmyd-tool-image/cfd7a0e3-837e-4f4d-8a64-578ff24c8001_jt.jpg?d=2018-07-30 15:08:07")
